//stack chart
if ($("#integral_flot").length) {
    
//    var data = [ ['dwj','50'], ["February", 8], ["March", 4], ["April", 13], ["May", 17], ["June", 9] ];
	console.log(data);
	$.plot("#integral_flot", [ data ], {
		series: {
			bars: {
				show: true,
				barWidth: 0.6,
				align: "center"
			}
		},
		xaxis: {
			mode: "categories",
			tickLength: 0
		}
	});

	// Add the Flot version string to the footer

	$("#integral_flot_footer").prepend("Flot " + $.plot.version + " &ndash; ");

}
